<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>V2ray+Nginx+wS+TLS+宝塔共存节点构建 | 黎の梦</title><meta name="keywords" content="v2fly,宝塔"><meta name="author" content="黎"><meta name="copyright" content="黎"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="工具准备域名1个；VPS一台；cloudflare帐号一个；系统镜像CENTOS7+ 1：BT安装： yum install -y wget &amp;&amp; wget -O install.sh http:&#x2F;&#x2F;download.bt.cn&#x2F;install&#x2F;install_6.0.sh &amp;&amp; sh install.sh  2:登陆宝塔安装Nginx 3:添加网站；添加域名；申请">
<meta property="og:type" content="article">
<meta property="og:title" content="V2ray+Nginx+wS+TLS+宝塔共存节点构建">
<meta property="og:url" content="https://lidream.xyz/2021/05/02/V2ray-Nginx-wS-TLS-%E5%AE%9D%E5%A1%94%E5%85%B1%E5%AD%98%E8%8A%82%E7%82%B9%E6%9E%84%E5%BB%BA/index.html">
<meta property="og:site_name" content="黎の梦">
<meta property="og:description" content="工具准备域名1个；VPS一台；cloudflare帐号一个；系统镜像CENTOS7+ 1：BT安装： yum install -y wget &amp;&amp; wget -O install.sh http:&#x2F;&#x2F;download.bt.cn&#x2F;install&#x2F;install_6.0.sh &amp;&amp; sh install.sh  2:登陆宝塔安装Nginx 3:添加网站；添加域名；申请">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/1619916091431.jpg">
<meta property="article:published_time" content="2021-05-02T06:15:57.000Z">
<meta property="article:modified_time" content="2021-05-03T02:19:42.551Z">
<meta property="article:author" content="黎">
<meta property="article:tag" content="v2fly">
<meta property="article:tag" content="宝塔">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/1619916091431.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://lidream.xyz/2021/05/02/V2ray-Nginx-wS-TLS-%E5%AE%9D%E5%A1%94%E5%85%B1%E5%AD%98%E8%8A%82%E7%82%B9%E6%9E%84%E5%BB%BA/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2021-05-03 10:19:42'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    })(window)</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/90cc99065df830a7af86550fc67385c6.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">11</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">8</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友联</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/1619916091431.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">黎の梦</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友联</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">V2ray+Nginx+wS+TLS+宝塔共存节点构建</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-05-02T06:15:57.000Z" title="发表于 2021-05-02 14:15:57">2021-05-02</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-05-03T02:19:42.551Z" title="更新于 2021-05-03 10:19:42">2021-05-03</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E6%9D%82%E4%B8%83%E6%9D%82%E5%85%AB/">杂七杂八</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">401</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>2分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="V2ray+Nginx+wS+TLS+宝塔共存节点构建"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p><strong>工具准备<br>域名1个；VPS一台；cloudflare帐号一个；系统镜像CENTOS7+</strong></p>
<p>1：BT安装：</p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">yum install -y wget &amp;&amp; wget -O install.sh http://download.bt.cn/install/install_6.0.sh &amp;&amp; sh install.sh</span><br></pre></td></tr></table></figure>

<p>2:登陆宝塔安装Nginx</p>
<p>3:添加网站；添加域名；申请SSL证书<br>在「设置」——「配置文件」选项，在ssl最后一个}前添加如下代码：</p>
<figure class="highlight nginx"><table><tr><td class="code"><pre><span class="line"><span class="attribute">location</span> /ray &#123;   </span><br><span class="line">     <span class="attribute">proxy_redirect</span> <span class="literal">off</span>;</span><br><span class="line">     <span class="attribute">proxy_http_version</span> <span class="number">1</span>.<span class="number">1</span>;</span><br><span class="line">     <span class="attribute">proxy_set_header</span> Upgrade $http_upgrade;</span><br><span class="line">     <span class="attribute">proxy_set_header</span> Connection <span class="string">&quot;upgrade&quot;</span>;</span><br><span class="line">     <span class="attribute">proxy_set_header</span> Host $http_host; </span><br><span class="line">     <span class="attribute">proxy_pass</span> http://127.0.0.1:V2Ray端口须与V2ray配置文件一致; </span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>4:安装V2ray</p>
<p><a target="_blank" rel="noopener" href="https://github.com/v2fly/fhs-install-v2ray">V2Fly官方项目</a></p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">yum makecache</span><br><span class="line">yum install curl</span><br><span class="line">curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh</span><br><span class="line">curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh</span><br><span class="line">bash install-release.sh</span><br><span class="line">bash install-dat-release.sh</span><br></pre></td></tr></table></figure>

<p>5：编辑V2ray配置文件<br>cd /usr/local/etc/v2ray<br>创建配置文件<br>vi config.json</p>
<figure class="highlight json"><table><tr><td class="code"><pre><span class="line">&#123;</span><br><span class="line">  <span class="attr">&quot;inbounds&quot;</span>: [&#123;</span><br><span class="line">    <span class="attr">&quot;port&quot;</span>: <span class="number">2586</span>,  <span class="comment">//#端口号与前面的配置文件要一致   </span></span><br><span class="line">    <span class="attr">&quot;listen&quot;</span>:<span class="string">&quot;127.0.0.1&quot;</span>,</span><br><span class="line">    <span class="attr">&quot;protocol&quot;</span>: <span class="string">&quot;vmess&quot;</span>,</span><br><span class="line">    <span class="attr">&quot;settings&quot;</span>: &#123;</span><br><span class="line">      <span class="attr">&quot;clients&quot;</span>: [</span><br><span class="line">        &#123;</span><br><span class="line">          <span class="attr">&quot;id&quot;</span>: <span class="string">&quot;a038c874-f959-4c3b-94e3-a276ce2ncf82&quot;</span>,  <span class="comment">//可以自己用v2ray生成一个属于自己的uuid</span></span><br><span class="line">          <span class="attr">&quot;level&quot;</span>: <span class="number">1</span>,</span><br><span class="line">          <span class="attr">&quot;alterId&quot;</span>: <span class="number">64</span>   </span><br><span class="line">        &#125;</span><br><span class="line">      ]</span><br><span class="line">    &#125;,</span><br><span class="line">    <span class="attr">&quot;streamSettings&quot;</span>: &#123;</span><br><span class="line">      <span class="attr">&quot;network&quot;</span>: <span class="string">&quot;ws&quot;</span>,</span><br><span class="line">      <span class="attr">&quot;wsSettings&quot;</span>: &#123;</span><br><span class="line">        <span class="attr">&quot;path&quot;</span>: <span class="string">&quot;/ray&quot;</span>   </span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">  &#125;],</span><br><span class="line">  <span class="attr">&quot;outbounds&quot;</span>: [&#123;</span><br><span class="line">    <span class="attr">&quot;protocol&quot;</span>: <span class="string">&quot;freedom&quot;</span>,</span><br><span class="line">    <span class="attr">&quot;settings&quot;</span>: &#123;&#125;</span><br><span class="line">  &#125;,&#123;</span><br><span class="line">    <span class="attr">&quot;protocol&quot;</span>: <span class="string">&quot;blackhole&quot;</span>,</span><br><span class="line">    <span class="attr">&quot;settings&quot;</span>: &#123;&#125;,</span><br><span class="line">    <span class="attr">&quot;tag&quot;</span>: <span class="string">&quot;blocked&quot;</span></span><br><span class="line">  &#125;],</span><br><span class="line">  <span class="attr">&quot;routing&quot;</span>: &#123;</span><br><span class="line">    <span class="attr">&quot;rules&quot;</span>: [</span><br><span class="line">      &#123;</span><br><span class="line">        <span class="attr">&quot;type&quot;</span>: <span class="string">&quot;field&quot;</span>,</span><br><span class="line">        <span class="attr">&quot;ip&quot;</span>: [<span class="string">&quot;geoip:private&quot;</span>],</span><br><span class="line">        <span class="attr">&quot;outboundTag&quot;</span>: <span class="string">&quot;blocked&quot;</span></span><br><span class="line">      &#125;</span><br><span class="line">    ]</span><br><span class="line">  &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>V2ray管理命令</p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">systemctl <span class="built_in">enable</span> v2ray</span><br><span class="line">service v2ray start <span class="comment">#启动 V2Ray  </span></span><br><span class="line">service v2ray stop <span class="comment">#停止运行 V2Ray  </span></span><br><span class="line">service v2ray restart <span class="comment">#重启 V2Ray  </span></span><br><span class="line">service v2ray status <span class="comment">#查看 V2Ray 状态</span></span><br></pre></td></tr></table></figure>

<p>END</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">黎</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://lidream.xyz/2021/05/02/V2ray-Nginx-wS-TLS-%E5%AE%9D%E5%A1%94%E5%85%B1%E5%AD%98%E8%8A%82%E7%82%B9%E6%9E%84%E5%BB%BA/">https://lidream.xyz/2021/05/02/V2ray-Nginx-wS-TLS-%E5%AE%9D%E5%A1%94%E5%85%B1%E5%AD%98%E8%8A%82%E7%82%B9%E6%9E%84%E5%BB%BA/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://lidream.xyz" target="_blank">黎の梦</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/v2fly/">v2fly</a><a class="post-meta__tags" href="/tags/%E5%AE%9D%E5%A1%94/">宝塔</a></div><div class="post_share"><div class="social-share" data-image="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/1619916091431.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button button--animated"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/IMG_20210502_121615.png" target="_blank"><img class="post-qr-code-img" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/IMG_20210502_121615.png" alt="wechat"/></a><div class="post-qr-code-desc">wechat</div></li><li class="reward-item"><a href="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/IMG_20210502_121427.jpg" target="_blank"><img class="post-qr-code-img" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/IMG_20210502_121427.jpg" alt="alipay"/></a><div class="post-qr-code-desc">alipay</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2021/05/02/%E9%87%91%E5%88%9A%E7%BB%8F/"><img class="prev-cover" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/932cc1a2430d6051e0b38d0ef10c1881.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">金刚经</div></div></a></div><div class="next-post pull-right"><a href="/2021/05/02/%E5%87%A0%E4%B8%AA%E5%9B%BE%E7%89%87API/"><img class="next-cover" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/api.vvhan.com[312].jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">几个图片API</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/2021/05/03/V2Fly-WS-TLS-CDN-宝塔VLESS搭建教程/" title="V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程"><img class="cover" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/QQ看点_0-155640180-92EA9C64CB46F3823BE9E320C0989DB5.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-05-03</div><div class="title">V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程</div></div></a></div><div><a href="/2021/05/02/宝塔Linux面板安装教程企业版/" title="宝塔Linux面板安装教程企业版"><img class="cover" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/api.vvhan.com[379].jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-05-02</div><div class="title">宝塔Linux面板安装教程企业版</div></div></a></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/90cc99065df830a7af86550fc67385c6.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">黎</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">11</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">8</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/lishangyi"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/lishangyi" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:linettekelly413@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">欢迎来到黎の梦</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/05/09/API%E5%B9%B3%E5%8F%B0%E5%A4%A7%E5%85%A8/" title="API平台大全"><img src="https://tx2.a.yximgs.com/ufile/atlas/NTE5NzE1NDAxODQwOTUyMTI1Nl8xNjIwMDQ0NTc1Nzk4_12.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="API平台大全"/></a><div class="content"><a class="title" href="/2021/05/09/API%E5%B9%B3%E5%8F%B0%E5%A4%A7%E5%85%A8/" title="API平台大全">API平台大全</a><time datetime="2021-05-08T22:39:12.000Z" title="发表于 2021-05-09 06:39:12">2021-05-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/05/05/%E5%85%8D%E6%B5%81%E6%B7%B7%E6%B7%86%E6%95%B4%E7%90%86/" title="免流混淆整理"><img src="https://tx2.a.yximgs.com/ufile/atlas/NTE5NzE1NDAxODQwOTUyMTI1Nl8xNjIwMDQ0NTc1Nzk4_11.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="免流混淆整理"/></a><div class="content"><a class="title" href="/2021/05/05/%E5%85%8D%E6%B5%81%E6%B7%B7%E6%B7%86%E6%95%B4%E7%90%86/" title="免流混淆整理">免流混淆整理</a><time datetime="2021-05-04T20:23:11.000Z" title="发表于 2021-05-05 04:23:11">2021-05-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/05/04/%E7%8E%A9%E5%AE%A2%E4%BA%91%E5%88%B7armbian/" title="玩客云刷armbian"><img src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/api.vvhan.com[675].jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="玩客云刷armbian"/></a><div class="content"><a class="title" href="/2021/05/04/%E7%8E%A9%E5%AE%A2%E4%BA%91%E5%88%B7armbian/" title="玩客云刷armbian">玩客云刷armbian</a><time datetime="2021-05-04T10:23:04.000Z" title="发表于 2021-05-04 18:23:04">2021-05-04</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/05/03/V2Fly-WS-TLS-CDN-%E5%AE%9D%E5%A1%94VLESS%E6%90%AD%E5%BB%BA%E6%95%99%E7%A8%8B/" title="V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程"><img src="https://lingering-glitter-6256.lking.workers.dev/api/files/onedrive/博客图片/QQ看点_0-155640180-92EA9C64CB46F3823BE9E320C0989DB5.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程"/></a><div class="content"><a class="title" href="/2021/05/03/V2Fly-WS-TLS-CDN-%E5%AE%9D%E5%A1%94VLESS%E6%90%AD%E5%BB%BA%E6%95%99%E7%A8%8B/" title="V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程">V2Fly+WS+TLS+CDN+宝塔VLESS搭建教程</a><time datetime="2021-05-03T02:07:01.000Z" title="发表于 2021-05-03 10:07:01">2021-05-03</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/05/02/%E5%AE%89%E8%A3%85YukiDrive%E2%80%93%E6%94%AF%E6%8C%81Onedrive-SharePoint%E6%96%87%E4%BB%B6%E6%B5%8F%E8%A7%88%E7%A8%8B%E5%BA%8F/" title="安装YukiDrive–支持Onedrive-SharePoint文件浏览程序"><img src="https://onedrive.gitcen.com/api/files/onedrive/博客图片/0072Vf1pgy1foxlhdcvy8j31hc0u07iz.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="安装YukiDrive–支持Onedrive-SharePoint文件浏览程序"/></a><div class="content"><a class="title" href="/2021/05/02/%E5%AE%89%E8%A3%85YukiDrive%E2%80%93%E6%94%AF%E6%8C%81Onedrive-SharePoint%E6%96%87%E4%BB%B6%E6%B5%8F%E8%A7%88%E7%A8%8B%E5%BA%8F/" title="安装YukiDrive–支持Onedrive-SharePoint文件浏览程序">安装YukiDrive–支持Onedrive-SharePoint文件浏览程序</a><time datetime="2021-05-02T11:51:29.000Z" title="发表于 2021-05-02 19:51:29">2021-05-02</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By 黎</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script src="/js/search/local-search.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"></div><div class="aplayer no-destroy" data-id="705324907" data-server="netease" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="true" muted></div><script defer="defer" id="ribbon" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="true" data-click="true"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = true;
POWERMODE.mobile = true;
document.body.addEventListener('input', POWERMODE);
</script><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-heart.min.js" async="async" mobile="true"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/gh/metowolf/MetingJS@1.2/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
  'title',
  '#config-diff',
  '#body-wrap',
  '#rightside-config-hide',
  '#rightside-config-show',
  '.js-pjax'
]

if (false) {
  pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}

var pjax = new Pjax({
  elements: 'a:not([target="_blank"]):not([href="no-destroy"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  document.querySelectorAll('script[data-pjax]').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // Analytics
  if (false) {
    MtaH5.pgv()
  }

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})


document.addEventListener('pjax:send', function () {
  typeof preloader === 'object' && preloader.initLoading()
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

})

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>